package com.wzh.provider.service;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;


//服务注册与发现


@Service //将服务发布出去
@Component //放在容器中
public class TicketServiceImpl implements TicketService{
    @Override
    public String getTicket() {
        return "提供者的票";
    }
}
